All Questions
1 question
2votes
2answers
532views
Is it a best practice or anti-pattern to export mock versions of functions for a library?
Context We are creating a library that makes an API (HTTP) request to a 3rd party. During testing we have written mock versions of the functions that make external requests so that we can test the ...